BSON fixes for driver v0.7.1