1. Add toString method to XMsg to debug this wrong xml. 2. Add email to be sent to devs when this issue arrise.