As a Jolokia user
I want that that DOM Element object gets serialized into a Tree
because this contains more and structured information thant the current serializer
The DomElementSimplifier currently only extract the name of the XML element. It should be more advanced to translate the element in a JSON subtree containing sub elements as well. Also (but maybe out of scope here), an incoming JSON objects should be able to be translated into an XML document.
A MBean which returns a DOM Node as attribute gets this translated into a JSON structured similar to the XML tree represented by this node
Other DOM Elements should have reasonable representations, too