[resteasy] Resource matching issues