convert generic headers