Convert a json array to a html table.