'Return a dictionary of roster entries.
Each item is keyed using its JID, and contains:
name         -- An assigned alias or nickname for the JID.
subscription -- The subscription type. Can be one of \'to\',
\'from\', \'both\', \'none\', or \'remove\'.
groups       -- A list of group names to which the JID has
been assigned.'

def get_items(self):

    items = {}
    for item in self['substanzas']:
        if isinstance(item, RosterItem):
            items[item['jid']] = item.values
            del items[item['jid']]['jid']
            del items[item['jid']]['lang']
    return items
