move CSV serialization to Serializer namespace