The default value of "@Consumes" is WILDCARD. Changing to MediaType.APPLICATION_JSON.