lock down version of bson