I have a function which currently iterates over a chunk of data and builds an object like this;
newObj = {} newObj[\'fields\'] = [] for field in page.form.fi