Saving and loading json data works