An exception is now thrown in case of wrong JSON data