Cleaning json.