SERVER-119969ClosedFixed
Consider replacing uassert and invariant checks with tassert
It is supposed to be impossible to get invalid BSON into BSONObj and friends (aside from cases in testing where we try to break BSONObj). It would be a programmer error if invalid BSON makes it into BSONObj. We should use the non fatal in production tassert then.