JMS Serializer 0.12 Compatibility

This PR is compatible with jms/serializer 0.12 (unreleased).
Probably this should be merged into master until jms/serializer 0.12 is released.

@lsmith77 is `View::setSerializerCallback()` allowed to set the serialization `groups` or `version`? If so, this PR needs to be updated, because it's not passing the `SerializationContext` to the callback function.

@schmittjoh you probably should take a look to make sure it uses the serializer as it should.