Added better support for Jackson JAX-RS serialization.