Repair bug with empty jsons