The easiest way is to put all variables into a dictionary. Then write Dictionary.AsJSON to a text file.
To load: read the text file and use 'Dictionary Load from FileSystem.FileText'. Then extract all variable values from the dictionary.
Thanks, is it possible to expand on your method? I've never used dictionary before and I want to make sure I'm doing it correctly.