'Returns a list of dicts.
what is the name of a cobbler object type, as described for get_item.
Individual list elements are the same for get_item.'

def get_items(self, what):

    item = [x.to_dict() for x in self.api.get_items(what)]
    return self.xmlrpc_hacks(item)
