Exporting objects from debugger
From Logic Wiki
https://marketplace.visualstudio.com/items?itemName=OmarElabd.ObjectExporter
After install this go to Tools > Object Exporter to export it.
Or alternatively try this in immediate window
(new System.Xml.Serialization.XmlSerializer(obj.GetType())).Serialize(new System.IO.StreamWriter(@"c:\temp\text.xml"), obj)