What should most likely happen is to turn DOM nodes to Strings before being handed to the impl (Jackson), and vice-versa on the other end.