add json persistence to store/restore
un-needed err check