func DumpJSON(stats unit.Stats) {
	enc := json.NewEncoder(os.Stdout)
	enc.Encode(stats)
}
DumpJSON prints the metrics of the benchmark in a JSON format
package output
import (
	"archive/tar"
	"bytes"
	"encoding/json"
	"fmt"
	"io"
	"os"
	"time"
	"github.com/aybabtme/uniplot/histogram"
	"github.com/giantswarm/nomi/log"
	"github.com/giantswarm/nomi/unit"
)