modify json file to add categories