This is a special case where the workbench manipulates the data to make it easier for the user.
Here is a demonstration of how a DOM Object appears in the Local Variable window. The display is far more complex than you would generally want.
We can bring up a slightly different less dense display. There are several ways of doing this.
This window just displays a tree that tries to represent the actual XML data.