Remove the filter and input from the json.