order events serialization