GenericRegistry can now be converted to Json via toJson member.
Json conversion recognizes (non Json) JavaScript string values (->toJson(true)).
In order for detection to work, start JavaScript string values with %JS%:
We use this Feature to configure controls via Ajax.