Store presets in JSON.