added an option to select which fits header extenison to convert when converting to a dictionary