docs: private JSONObject getJsonFormattedSpellcheckResult(CmsSpellcheckingRequest request) {
  
          final JSONObject response = new JSONObject();
  
          try {
              if (null != request.m_id) {
                  response.put(JSON_ID, request.m_id);
              }
  
              response.put(JSON_RESULT, request.m_wordSuggestions);
  
          } catch (Exception e) {
              try {
                  response.put(JSON_ERROR, true);
                  LOG.debug("Error while assembling spellcheck response in JSON format.", e);
              } catch (JSONException ex) {
                  LOG.debug("Error while assembling spellcheck response in JSON format.", ex);
              }
          }
  
          return response;
      }