Fix crash when JSON response fails to parse
Merge pull request #1 from jbuck/parse-error

Fix crash when JSON response fails to parse