Renamed params_to_json to paramsxml_to_json.