Add support for adding tags as a map to a metric

Just a little helper function like the new one in QueryMetric.