Made JSON true value class dynamic so the test adapts to different JSON::XS boolean blessing versions