Cache JSONObjects in files to survive a restart