Ignore encoding, use message.as_string directly.

The message is already in str type, so we don't care about
encoding. json.dumps will ignore convertion.
Merge remote-tracking branch 'chiiph/bug/multiple_encoding' into develop