code: function getArguments(req) {
      const result = req.body || {};
      for (let i in req.query) {
          result[i] = req.query[i];
      }
      return result;
  }
docs: This function is currently modifying req.body for performance though could be changed if it ever caused problems.