Assuming your entire tree is in memory (nothing loaded dynamically),
walking the tree with a recursive function and exporting the values
you want should be fairly easy.
The component itself does not offer any kind of export ability for the
entire tree - such a feature would not work consistently when you have
partially loaded trees. A better strategy might be to capture changes
to the tree, using event handlers, if submitting all the changes at
the same time is a requirement - if that's not a requirement, I think
I would prefer to post each change to the tree asynchronously,
directly from the even handlers...