The raise is there so that we get a backtrace after we print the offending JSON and error codes to STDERR.  It is intended to be primarily a debugging/development thing.