Serialization of page type