Provides a simple serializer abstraction to switch between different serialization implementations