change dispatching to use JAXB rather than java serialization
make sure bean invocation happens before passing over the wire