event: use JSON decoder instead of raw connection

event: fix eof

fix
container: include container name given by option