fallback to cached file if script cannot get JSON data