static Map<String, URI> toClusterMap(Inspector clustersObject) {
        Map<String, URI> clusters = new HashMap<>();
        clustersObject.traverse((ObjectTraverser) (cluster, uri) -> clusters.put(cluster, URI.create(uri.asString())));
        return clusters;
    }
Parses the given test config JSON and returns a new config instance.

If the given JSON has a "localEndpoints" element, a config object with default values
is returned, using {@link #fromEndpointsOnly}. Otherwise, all config attributes are parsed.
hosted-api/src/main/java/ai/vespa/hosted/api/TestConfig.java