MVC 5.1 supports passing in HTML attributes as an anonymous object.