Allow De/Serialization contexts to be configured

This PR allows configuration of serializer options through the service definitions `data` properties.

fixes #39