Generated form should separate the fields by new line. Also field label before every field would help to edit documents instantly (with no need to redesignthe form).
I think about "alias" concept: if you use "Label|Fieldname" format, it could create field named "Fieldname" and put "Label" before the field. If pipe is ommited, label and field name are the same.