FromJson for Attribute.