Fixed #5749 -- Added field_name as a key in the _html_output dict

Thanks SmileyChris for the suggestion.