This fixes the test failure about the JSON boolean class

This fix works by dynamically adapting the failing test to whatever class the object JSON::XS::decode_json("true") is blessed into.

Please review.

J.