MongoDB and bson spec