bson empty object and minor interface fixes