Serializes elem to a string, adding an xml declaration to the top. Encodes the payload automatically as described in http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202945(v=vs.105).aspx.
elem
xml
xml as a string