serialization for conversations