Fixed constant serialization