Changed implementation from Jersey 1 to Resteasy (for bean validation
support)