prints all info into the table by parsing the json and appending the table rows