Migrate library from Jersey to RestEasy