fixing bson_iterator type reference