fix after merge conflict in BsonMarshallingFactory