code: Map<String, Map<String, Object>> getParameterMap(DecoratorConfiguration configuration) {
      return configuration
          .getDecoratorParameters()
          .collect(
              toMap(
                  param -> param.getDecorator().getId(), param -> jsonToMap(param.getParameters())));
    }
docs: Collects the JSON parameters of one or more DecoratorParameters entities in a map, with the
  decorator's ID as the key and the JSON object as another key/value Map.