Convert all options that go to UCI as an intermediate attrset at config.uci.settings before generating the batch script.