@JsonGetter("resources")
    public List<HostResources> getResourcesOrNull() {
        return resources.isEmpty() ? null : resources;
    }
@param resourcesOrNull the resources of the shared host (or several to support e.g. tiers or
                       fast/slow disks separately)
flags/src/main/java/com/yahoo/vespa/flags/custom/SharedHost.java