Try harder to work around JSON 2.9 boolean comparison