code: def dict_to_proto(
      json_dict: Dict[Any, Any], proto: ProtoMessage
  ) -> ProtoMessage:
      """Simple JSON Parser wrapper for consistent parsing."""
      return json_format.ParseDict(
          json_dict, proto, ignore_unknown_fields=True
      )
  
file_path: tfx/tfx/utils/proto_utils.py
imports: from typing import Any, Dict, Iterator, TypeVar, Optional
  from google.protobuf import any_pb2
  from google.protobuf import descriptor_pb2
  from google.protobuf import descriptor
  from google.protobuf import descriptor_pool
  from google.protobuf import json_format
  from google.protobuf import message
  from google.protobuf import message_factory
label_desc: Use image node_id 5 for calling a global function with example usage: dict_to_proto(json_dict, proto) and returns: json_format