I guess the original author felt that a parsing error equaled a bad JSON array since this area isn't reached if the data attribute doesn't exist.