#18 start unifying toCommon and toXmpp