function escapeParams(params) {
  if(params != null) {
    Object.keys(params).forEach(function (key) {
      if(typeof(params[key]) == 'string') {
        params[key] = escapeHtml(params[key]);
      }
    });
  }
  return params
}
Escapes html tags and special symbols from all provided params which were returned from parseArgs().params.
This method performs an in-place operation on the params object.

@param {any} params Parameters as provided from `parseArgs().params`.
                    May be either an array of strings or a string->any map.

@returns The manipulated `params` object.