Fix for U4-1891

Use of HtmlHelper.AnonymousObjectToHtmlAttributes not a simple .ToDictionary() so that properties of the anonymous object follow the MVC convention of converting underscores to hypens