support arrays in html form generation. form gen mostly in js now