restyle code in madness_json.t for easier $expect patching
fix JSON::XS::Boolean problem in madness_json test (RT #90128)

In newer JSON::XS, the boolean class is JSON::PP::Boolean, not anymore
JSON::XS::Boolean.