adding and using categories.json