Corrected json files reading