Use jsonpickle to store JSON-ifiable data in the file cache