class MetricStatSerDe {

    public static String serialize(List<MetricStat> metricStats)
    {
        try {
            return mapper.writeValueAsString(new MetricStatHolder(metricStats));
        }
        catch (JsonProcessingException ex) {
            throw new RuntimeException(ex);
        }
    }

    private  MetricStatSerDe();

}