Improved the ability to configure the serialization mechanism

This should remove the need to override the gin module when binding a new Serialization implementation. I don't want to go too far (ie: inject the serialization context) because I want to keep the serialization implementation as far away as possible from the core.

https://github.com/ArcBees/GWTP/issues/410