docs: def serialize_to_normalized_pretty_json(py_obj):
      """Serialize a native object to normalized, pretty printed JSON.
  
      The JSON string is normalized by sorting any dictionary keys.
  
      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, pretty printed JSON string.
  
      """
      return json.dumps(py_obj, sort_keys=True, indent=2, cls=ToJsonCompatibleTypes)