Updated to jersey 2.6 and added JSON support.