Make cache work for older mySQL and with different timezone settings. Delete json cache