Currently calling the get all categories call does not include the children attribute. All the children are present in the return but would need to me manually mapped together by the consumer. There could be use cases where it would be useful to have the attribute be available. Maybe something like a display: nested option on the call if there is enough interest.