code: def search_normalize(self, results):
          
          flattened_results = []
          for key in results.keys():
              for item in results[key]:
                  flattened_results.append(item)
          return super(PuppetClass, self).search_normalize(flattened_results)
docs: Flattens results.
          :meth:`nailgun.entity_mixins.EntitySearchMixin.search_normalize`
          expects structure like
          list(dict_1(name: class_1), dict_2(name: class_2)),
          while Puppet Class entity returns dictionary with lists of subclasses
          split by main puppet class.