Added ability to retrieve metric types from the webservice