Fix Jersey put() and post() calls.