Attribute (attr) does not pass the type constraint because: Validation failed for 'Bool' with value JSON::PP::Boolean=SCALAR(0x1dc1558) at constructor My::Package::new (defined at 1.pl line 15) line 31