filter out comments in json files before pushing them through the JSON module