Solve problem in retrieval of json files