Added save/load to json.

loadSettings loads the json file but doesn't update settings yet. Save
also probably needs another pass and more data types.