Fix Jersey registering issue
(It slipped in due to register() accepting Object)