bson_ext for mongoid