Is there a way to build a json data from a complex form?

There are button widgets to edit one tiddler field. In another discussion, I have understood how to edit a value in an existing json (with a hack).

Now I would like to build a complex form that would be saved at once in a json data tiddler. Is there a way to build such a json? (not editing values one by one as keys may not exist at the beginning)