added json saving and loading