Oops, messed up JSONModel error handling.