Workaround for weird headers
Just a clean-up and improvement to read weirdly formatted headers, e.g. with attributes which are invalid Python identifiers.
Just a clean-up and improvement to read weirdly formatted headers, e.g. with attributes which are invalid Python identifiers.