Changed the to string methods of the metric and metric manager.