class ChartUtils {

    public static ObjectNode generateAnnotObjectNode(ChartModel cm) {
        ObjectNode node = MAPPER.createObjectNode();
        for (ChartModel.Annot a : cm.getAnnotations()) {
            node.put(a.key(), a.valueAsString());
        }
        return node;
    }

    private  ChartUtils();

}