read initial header order from json files