def METHOD_NAME(obj: JSONSerializable, suppress_indent: bool = True) -> str:
    encoder = SuppressableIndentEncoder if suppress_indent else json.JSONEncoder
    serializable = obj.to_json_serializable(suppress_indent=suppress_indent)
    return json.dumps(serializable, cls=encoder, indent=2)