figure json to html table