Protect against JSON decode error in body