lib/create-server.js
function typeConvertMiddleware(req, res, next) {
  typeConvert(req.params);
  typeConvert(req.body, true);
  next();
}
function typeConvertMiddleware(req, res, next) {
  typeConvert(req.params);
  typeConvert(req.body, true);
  next();
}
middleware that executes typeconvert on the query and the body