Loop through all items to create unique header list to account for all keys