fix(etcdconfig): strip leading slash from map keys
test(etcdconfig): test map creation