added jersey REST support