Tweak reporting of JSON errors