Added serialization of an order