bson request handler