Category tree JSON is constructed with CategoryTree case class instead of raw Maps and Lists
number of sql queries are reduced on creating Category tree