Could just do `yaml = ResourceUtils.create(mgmt()).getResourceAsString(uri.toString());`.
This also handles some "special" URLs like `classpath://` etc.
Annoying you have to change the uri back to a String first.