read json and load it in table