That was a fast fix, nice job! Please note that in my test application I used an older Jersey version, in the latest version the issue you mentioned seems to be resolved as the tests are passing.