Correct serialization for stop command