restClient: a flexible JSON-REST client library