Creating json list of metric values