I tried to go a route similar and write the bindings.wtf file and the kcl/hotkeyscript files from a YAML description.

Now I just make a 'report' of sorts of what my multiplexers have in its source file and what the bindings-cache.wtf has in it (or doesn't have in it).