Fixed serialization of page and site