constants serialization [ci skip]