Added check for erroneous JSON response & updated README