configure header names as attrs