Downgrade json4s to 3.2.4 to appease Backchat.io Hookup
encode in message type if it is request or response