docs: def serialize(self):
          """ Serializes the Spec/Describe object for collection.
  
          Warning, this will only grab the available information.
          It is strongly that you only call this once all specs and
          tests have completed.
          """
  
          cases = [case.serialize() for key, case in six.iteritems(self.cases)]
          specs = [spec.serialize() for spec in self.describes]
  
          converted_dict = {
              'id': self.id,
              'name': self.name,
              'class_path': self.real_class_path,
              'doc': self.doc,
              'cases': cases,
              'specs': specs
          }
          return converted_dict