Processing a WS response as JSON