docs: @Override
      public JsonNode getJsonNode(PortletPreferences prefs, String key) throws IOException {
          final String prefValue = StringUtils.trimToNull(prefs.getValue(key, null));
          if (prefValue == null) {
              // Default to an empty object
              return mapper.createObjectNode();
          }
          return mapper.readTree(prefValue);
      }