the json file reader for homework of TOC