Convert json data to html forms or tables