python-nbxmpp: dict.items() -> list(dict.items())