try to use same code for form and JSON as it basically is the same.
work towards making it more obvious what the JSON-Contract and the Form share.
update cells.