Serialization of domain classes to CSV