Generalized JSON cache code, possibly fixing a bug where model data became None
Generalized JSON cache code, possibly fixing a bug where model data became None

cjsmeele/HADDOCK-WebUI,cjsmeele/HADDOCK-WebUI