Creates a serializer for a simple tagged value
The type tag (e.g., "Some", "List", "Success")
The value to serialize
Serialization methods
Creates a serializer for a simple tagged value