Write out the metric creation json response