read data from json file and display in the table