Completed saving and loading of data through JSON. Saving occurs when application enters the background. Loading the file depends on whether the saved file exists in the documents directory; if it doesn't, the default file from the bundle is loaded.