remove dependency on jersey