fix cache file on json files.