Fix Attribute FromJSON instance