Remove NaN from JSON files.