Add method to get category tree with types and subtypes