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