moved collectd conversion to collectd.go