correctly serialize page ob