More informative errors if JSON decoding fails