fix test failures for JSON boolean checks

may be PP or maybe XS, so use JSON::true (or false) rather than a
blessed hash in the test comparisons