populate the table with data from json file