Render connection as json