Before you go any further, are you aware of the native Solution > Save State
functionality:
It allows you to save named states of all/selected sliders, boolean toggles, gene pools etc. You can probably make/save/read these states to file using a script if need be.