test that it accepts json values over the wire