Catch JSON decoding errors