Contact Sync V2 API output XML formatter 

Add a small function to convert the messy output from whatsapp server into XML format data which can be easily read by other software and languages, for example JS. 

very useful for javascript and php intermediate interfacing with yowsup