Deal with json cache corruption