Internalized Data as XML to DataTree

Hi, I am trying to bring data into a dotnet notebook environment as a datatree for preliminary testing/debugging/validation. I noticed that I can internalize some data and then copy/paste it into a text file where the data component is represented as an XML. Is there a simple way to directly deserialize this to a DataTree or GH_Structure object?

I searched through the GH_IO namespace so I know it is possible to read through archives, find the right chunk name attribute, and manually cast then add data to a datatree with a custom function. However, the canvas likely does this behind the scenes so I am curious if this process is available somewhere