Return all domains. Domain is a key, so group by them

def list_domains(self):
        """ Return all domains. Domain is a key, so group by them """
        self.connect()
        results = self.server.list_domains(self.session_id)
        return {i['domain']: i['subdomains'] for i in results}