Hi David,
That's a great idea! Although we do not have short term plans for it we're adding this to our radar so we can keep an eye on it.
In the meantime, a better approach might be to do the widget in client side, there are several tree components in the forge that you can inspire yourself on. And since trees are usually very interactive (e.g. expand/collapse), making this with some javascript will provide a better experience for end-users.
Thanks a lot for your idea, we'll certainly take a look into it in the future.
Cheers,
Tiago