compat: helper to set data in the preset json
compat: helper to set data in the preset json

Those huge lines to index into the preset json were getting unwieldy.
The helper should help with legibility and make it harder to mess up.
[endlessm/eos-sdk#3725]

endlessm/eos-knowledge-lib,endlessm/eos-knowledge-lib,endlessm/eos-knowledge-lib,endlessm/eos-knowledge-lib