Replace the encoders with marshallers
Allow a connection to switch between marshallers
Let the simpleJSonMarshaller compress the content
Fix constant name