This is serialization for sequences not just lists