mucking about with resteasy and dagger