Add categories to hierarchy response