Either serialization module