code: static List<String> getFQDNValueListCMS(JSONObject jObj,
              String projectionStr) throws JSONException {
          final List<String> labelList = new ArrayList<String>();
  
          if (!jObj.has("result")) {
              logger.error("!!CMS_ERROR! result key is not in jOBJ in getFQDNValueListCMS!!: \njObj:"
                      + PcStringUtils.renderJson(jObj));
  
              return labelList;
          }
          JSONArray jArr = (JSONArray) jObj.get("result");
          if (jArr == null || jArr.length() == 0) {
              return labelList;
          }
          for (int i = 0; i < jArr.length(); ++i) {
              JSONObject agentObj = jArr.getJSONObject(i);
              // properties can be null
  
              if (!agentObj.has(projectionStr)) {
                  continue;
              }
              String label = (String) agentObj.get(projectionStr);
  
              if (label != null && !label.trim().isEmpty()) {
                  labelList.add(label);
              }
          }
  
          return labelList;
      }
docs: 20141022.
  
  @param jObj
  the j obj
  @param projectionStr
  the projection str
  @return the FQDN value list cms
  @throws JSONException
  the JSON exception