Deserializes from an XML string