Override toString in Metric implementations

Fixes #566