Consul KV back up script in Go