add bson_ext syntax extension