Clean JSON file