Serialize command tag only once