code: def _to_dict(self) -> Dict[str, Any]:
      return {"format": self.format, "label_fields": self.label_fields}
  
imports: from __future__ import absolute_import
  from abc import ABC, abstractmethod
  from typing import Any, Dict, Optional, Sequence, Tuple
  import numpy
  from .serialization import Serializable
label_desc: Use image node_id 2 for calling the Params obj's underlying member method code with example usage: obj._to_dict() and returns: dict