add with-connection to gloss-json