Way to create a category object from the parent, child couple