CMS-3787 Move jaxrs code into seperate bundle. Doing this in own branch instead.