making mongofill compatible with bson-hni behavior