def _remap_key(key):
if key in KNOWN_PARAMS:<EOL><INDENT>return key<EOL><DEDENT>if key.lower() in known_params:<EOL><INDENT>return KNOWN_PARAMS[known_params.index(key.lower())]<EOL><DEDENT>return key<EOL>
Change key into correct casing if we know the parameter