Save hosts in JSON instead of the etcd tree

* Get all the data on event
* additional tests 
* go fmt