Fixed serializing of message text.