Add TransactionalOutputStream serialization