/**
   * Create and return the String that contains the overall stats (in JSON).
   *
   * @return the String that contains the overall stats.
   */
  protected String getOverallStatsJSON() {
    StringBuilder bldr = new StringBuilder();
    bldr.append("{\n");

    bldr.append("  \"max\":\n");
    bldr.append("  {\n");
    bldr.append("      \"audio\":");
    bldr.append(audioSummaryStats.getAggregateMaxJSON() + ",\n");
    bldr.append("      \"video\":");
    bldr.append(videoSummaryStats.getAggregateMaxJSON() + '\n');
    bldr.append("  },\n");

    bldr.append("  \"mean\":\n");
    bldr.append("  {\n");
    bldr.append("     \"audio\":");
    bldr.append(audioSummaryStats.getAggregateMeanJSON() + ",\n");
    bldr.append("      \"video\":");
    bldr.append(videoSummaryStats.getAggregateMeanJSON() + '\n');
    bldr.append("  },\n");

    bldr.append("  \"min\":\n");
    bldr.append("  {\n");
    bldr.append("      \"audio\":");
    bldr.append(audioSummaryStats.getAggregateMinJSON() + ",\n");
    bldr.append("      \"video\":");
    bldr.append(videoSummaryStats.getAggregateMinJSON() + '\n');
    bldr.append("  },\n");

    bldr.append("  \"standard_deviation\":\n");
    bldr.append("  {\n");
    bldr.append("      \"audio\":");
    bldr.append(audioSummaryStats.getAggregateStandardDeviationJSON() + ",\n");
    bldr.append("      \"video\":");
    bldr.append(videoSummaryStats.getAggregateStandardDeviationJSON() + '\n');
    bldr.append("  },\n");

    bldr.append("  \"sum\":\n");
    bldr.append("  {\n");
    bldr.append("      \"audio\":");
    bldr.append(audioSummaryStats.getAggregateSumJSON() + ",\n");
    bldr.append("      \"video\":");
    bldr.append(videoSummaryStats.getAggregateSumJSON() + '\n');
    bldr.append("  }\n");

    bldr.append("}\n");
    return bldr.toString();
  }