def METHOD_NAME(
    predictions, output_features, return_type="dict", backend: Optional["Backend"] = None  # noqa: F821
):
    convert_fn = get_from_registry(return_type, conversion_registry)
    return convert_fn(predictions, output_features, backend)