the REST client doesn't need to know anything about JSON