caching of JSON file