Remove the connection in json dumping

Signed-off-by: Julien Danjou <julien@danjou.info>