Saving JSONs now less hacky.