code: function getValueAsString(entry, aggregateStats) {
          if (!Array.isArray(entry)) {
              return entry;
          }
  
          if (aggregateStats) {
              var sum = 0,
                  avg,
                  min = _.min(entry),
                  max = _.max(entry),
                  sd,
                  variationSum = 0;
  
              entry.forEach(function (value) {
                  sum += value;
              });
              avg = Math.round(sum / entry.length);
              entry.forEach(function (value) {
                  variationSum += Math.pow(value - avg, 2);
              });
              sd = Math.round(Math.sqrt(variationSum / entry.length));
              return min + "(" + avg + ")" + max + "[" + sd + "]";
          } else {
              return entry.join(", ");
          }
      }
docs: return single value, or comma separated values for an array or return aggregated values with
  <min value, average, max value, standard deviation>
  @param   {Array}    entry          An array or a single value
  @param   {Boolean} aggregateStats If set, the returned value will be aggregated in the form -
  <min(avg)max[standard deviation]>
  @return {String}   a single value, or comma separated values in an array or
  <min(avg)max[standard deviation]> if aggregateStats is set