IN-249 Improve handling of serialization errors

@dominicm 
Is this a logger that is provided by right_amqp or whatever logger gets set has to have an 'exception' method accepting those three arguments?