def METHOD_NAME(eval_config: config_pb2.EvalConfig, data_location: str,
                        file_format: str, model_locations: Dict[str,
                                                                str]) -> str:
  return json_format.MessageToJson(
      config_pb2.EvalRun(
          eval_config=eval_config,
          version=tfma_version.VERSION,
          data_location=data_location,
          file_format=file_format,
          model_locations=model_locations))