Update to jersey 2.x

https://www.pivotaltracker.com/story/show/52200823