public static String readUtf8Resource(ClassLoader classLoader, String resourcePath) {
        return readUtf8Url(classLoader.getResource(resourcePath));
    }
Reads a class loader resource into a UTF-8 string.

<p>This is equivalent to reading the contents of an {@link InputStream}
from {@link ClassLoader#getResourceAsStream}.

@param classLoader Class loader to load from.
@param resourcePath Path to the resource to load.
@return Returns the loaded resource.
@throws UncheckedIOException if the resource cannot be loaded.
smithy-utils/src/main/java/software/amazon/smithy/utils/IoUtils.java