Handle json decode failures, too