read json file implemented