Print json object in table format.

Add a new function to convert the json object into the html table.
The function is called at the end of the timeout function that
parses the response to json object.