shorter JSON marshal failure case