- prettify header array keys at add time so that check_content_type() works properly