Fix URL parameterization for MongoDB primary keys