add Dump to cookie struct