Jersey 2 migration