Creates a serializer for complex objects with custom serialization logic
The data object to serialize (should include _tag)
Serialization methods
Creates a serializer for complex objects with custom serialization logic