utility func for crawler, marshal version