JSON persistance engine for save