docs: def _serialize(self, include_run_logs=False, strict_json=False):
          """ Serialize a representation of this Dagobah object to JSON. """
          result = {'dagobah_id': self.dagobah_id,
                    'created_jobs': self.created_jobs,
                    'jobs': [job._serialize(include_run_logs=include_run_logs,
                                            strict_json=strict_json)
                             for job in self.jobs]}
          if strict_json:
              result = json.loads(json.dumps(result, cls=StrictJSONEncoder))
          return result