Save and load JSON to and from disk.