Add categories to the JSON file