Convert the docker metrics format to the Consul format