Convert self[stanza_key] to a list. For each k, v
        k, v = self[stanza_key].iteritems() assign
        v[name_key] = k

def _convert_to_list(self, stanza_key, name_key):
        """
        Convert self[stanza_key] to a list. For each k, v
        k, v = self[stanza_key].iteritems() assign
        v[name_key] = k
        """
        converted_list = []
        for k, v in self.get(stanza_key, {}).iteritems():
            v[name_key] = k
            converted_list.append(v)
        return converted_list