code: private void parseResponse(ModelNode response, AsyncCallback<Map<String,String>> callback) {
  
          //System.out.println(response.toString());
  
          Map<String, String> serverValues = new HashMap<String,String>();
  
          if(isStandalone)
          {
              serverValues.put("Standalone Server", response.get(RESULT).asString());
          }
          else if(response.hasDefined("server-groups"))
          {
  
              List<Property> groups = response.get("server-groups").asPropertyList();
              for(Property serverGroup : groups)
              {
                  List<Property> hosts = serverGroup.getValue().get("host").asPropertyList();
                  for(Property host : hosts)
                  {
                      List<Property> servers = host.getValue().asPropertyList();
                      for(Property server : servers)
                      {
                          serverValues.put(server.getName(),
                                  server.getValue().get("response").get("result").asString()
                          );
                      }
                  }
              }
          }
  
          callback.onSuccess(serverValues);
      }
docs: Distinguish domain and standalone response values
  
  @param response
  @param callback