Dom etcd config

let's not inject the factory but the json parser itself