inclue the metric type in the generated json