Structured form builder in Node, using JSON to define the schema