public static JsonObject buildStatSummary(RTCStatMap statMap, boolean fullyDetailed) {
    JsonObjectBuilder builder = Json.createObjectBuilder();
    for (String pcName: statMap.keySet()) {
      String key = pcName.toLowerCase().startsWith("windows.") ? pcName.substring(8) : pcName;
      builder.add(key, buildStatSummary(statMap.get(pcName), fullyDetailed));
    }
    return builder.build();
  }
Returns the test's getSDPMessageScript to retrieve the sdp message for either the offer or answer.
If it doesn't exist then the method returns 'unknown'.

@return the getSDPMessageScript as string.
KITE-Framework/src/main/java/org/webrtc/kite/stats/StatsUtils.java