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.