Cover an additional case where we need to lowercase keys in the HtmlAttributes constructor