Fix serialization for order create/update requests