begin move from json shim to connect-send-json