Control Tree tostring

Is there a quick way to export Control Tree data to text .

Anything is good … xml,plain text, ect.

Thanks