Serializer is an abstract base class that you should override in your
application to customize it for your backend. The minimum set of methods
that you should implement is:
And you can optionally override the following methods:
For an example implementation, see JSONSerializer, the included JSON serializer.