serialize order