Add support to store XML in message data