making BSON api changes