Decoded checking attr to json