code: def value_map_to_pb(
      m: Optional[Dict[str, Any]]
  ) -> Optional[Dict[str, pb.ParamType]]:
      if m is None:
          return None
      return {k: value_to_pb(v) for k, v in m.items()}
  
imports: import datetime
  import json
  from typing import List, Dict, Any, Optional, MutableMapping
  from google.protobuf import timestamp_pb2
  from .servicepb import keepsake_pb2
  from .experiment import Experiment
  from .checkpoint import Checkpoint, PrimaryMetric, CheckpointList
label_desc: Use image node_id 17 for calling a global function with example usage: value_map_to_pb(m) and returns: unknown, None