More work on jersey2 integration