function formatSql(req, res) {
  const { body } = req;
  if (!body.query) {
    return res.utils.error('query property must be provided');
  }
  const data = {
    query: sqlFormatter.format(body.query),
  };
  res.utils.data(data);
}
Returns formatted query in same object format it was sent
@param {Req} req
@param {Res} res