generate an html table from json feed