codec is json for tcp and thus amqp