class LocalConfigurationService implements LocalConfiguration, Serializable {

    @Override
    public String get(final String key) {
        return rawDelegates
                .stream()
                .map(d -> read(d, plugin + "." + key))
                .filter(Objects::nonNull)
                .findFirst()
                .orElseGet(() -> rawDelegates // fallback on direct keys
                        .stream()
                        .map(d -> read(d, key))
                        .filter(Objects::nonNull)
                        .findFirst()
                        .orElse(null));
    }

}