cleaning json file