How to create layer hierarchies for gltf export

Hello,

I am trying to export a model using the OpenAnatomy Export module, creating subcategories for tissues (such as skeletal system, muscular system, etc. as seen here: Online 3D Viewer ). I have tried creating separate segmentations for each category and putting them all inside a folder in slicer to export as one using the module, but the export always fails. If I export each segmentation individually, it works. I can combine all nodes into a single segment, but then I lose the hierarchy. What would be the correct approach?