Bugfix: Utility function for the conversion of metric v1 to v2 was
faulty