category tree in search endpoint