code: private String transformContent(String content) {
  
          try {
              List<CmsJsonPart> parts = CmsJsonPart.parseJsonParts(content);
              JSONArray keys = new JSONArray();
              JSONObject output = new JSONObject();
              for (CmsJsonPart part : parts) {
                  if (output.has(part.getKey())) {
                      LOG.warn("Duplicate key for JSON parts: " + part.getKey());
                  }
                  keys.put(part.getKey());
                  output.put(part.getKey(), part.getValue());
              }
              output.put(KEY_PARTS, keys);
              return output.toString();
          } catch (Exception e) {
              LOG.error(e.getLocalizedMessage(), e);
              return content;
  
          }
      }
docs: Transforms the response content as a string.<p>
  
  @param content the content
  @return the transformed content