jaxrs: fix catalog endpoints

Reported-by: Praveen Agrawal <pkalwar@gmail.com>
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>