Provides a simple abstraction to switch between different serialization implementations