JSON client talks to JSON REST service