MT#10355 Fix forcing boolean context for JSON::bool