docs: def serialize_to_normalized_compact_json(py_obj):
      """Serialize a native object to normalized, compact JSON.
  
      The JSON string is normalized by sorting any dictionary keys. It will be on a single
      line without whitespace between elements.
  
      Args:
        py_obj: object
          Any object that can be represented in JSON. Some types, such as datetimes are
          automatically converted to strings.
  
      Returns:
        str: normalized, compact JSON string.
  
      """
      return json.dumps(
          py_obj, sort_keys=True, separators=(',', ':'), cls=ToJsonCompatibleTypes
      )