fix transformation between metric snapshots and newrelic metrics