code: def _remap_key(key):
      
      if key in KNOWN_PARAMS:
          return key
      if key.lower() in known_params:
          return KNOWN_PARAMS[known_params.index(key.lower())]
      return key
docs: Change key into correct casing if we know the parameter