Gnosis (http://gnosis.cx/download/) is able to do this if you mean something like pickling, but with an XML-like ouput.