How to create a hierarchical glossary tree with parent, child, and grandchild nodes

Original Slack Thread

Im currently building a glossary file to ingest into DH. From the example: I see there is a parent and a child in the glossary tree. How would I create a tree that goes further with a parent > child > grandchild ?

Just add the nodes field recursively, at any level