Made xml to stanza serialization more clear.