accept json too (Jersey unable to send JSON with www-form-encoded
Add rest client