Updated XMPP calls to use String instead of ComplexType