Treat marshal data as bytes instead of as a string.

This prevents encoding errors that occur when the string gets passed
through a jms TextMessage.