Change the way Categories are retrieved

There is a built in method in ancestry to create the json tree structure
and we can use serializable_hash to change what fields to use.