code: function getReqParams(req, groupId) {
    return (req && !req.app && (groupId === 'query' || groupId === 'path'))
      ? req.params
      : undefined
  }
docs: /*
  If using Restify, grab the common params object.
  We'll merge back formatted query and path params
  if they existed unformatted in there previously.