remove resteasy dependency and switch to new client