class_docstr: Very simple serializer. Only sanitizes the batches and outputs. Will use
   a passed serializer function for the outputs if it exists.
code: def _to_params(self) -> Dict[str, Any]:
      return {"type": "simple"}
  
file_path: allennlp/allennlp/evaluation/serializers/serializers.py
imports: from typing import Optional, Dict, Any, Callable
  import logging
  import json
  from allennlp.common.util import sanitize
  from allennlp.data.fields import TensorField
  from allennlp.common import Registrable
  from allennlp.data import DataLoader
label_desc: Use image node_id 1 for calling the SimpleSerializer obj's underlying member method code with example usage: obj._to_params() and returns: dict