Add map literals and special handling for class and style attributes.