consul/ui/packages/consul-ui/app/helpers/to-hash.js