Add attribute object literal support to Attr