Generalizing getting dataList from Headers