code: def _convert_key_and_value(key, value):
      """Helper function to convert the provided key and value pair (from a dictionary) to a string.
  
      Args:
          key (str): The key in the dictionary.
          value: The value for this key.
  
      Returns:
          str: The provided key value pair as a string.
  
      """
      updated_key = f'"{key}"' if isinstance(key, str) else key
      updated_value = f'"{value}"' if isinstance(value, str) else value
  
      return f"{updated_key}: {updated_value}, "
  
file_path: sagemaker-python-sdk/src/sagemaker/debugger/utils.py
imports: from __future__ import absolute_import
  import re
  from datetime import datetime
  from enum import Enum
label_desc: Use image node_id 1 for calling a global function with example usage: _convert_key_and_value(key, value) and returns: updated_key, str, updated_value, str