Added static generateGetTreeJson() method to TaxonomyTermIndex