Don't call JSON.parse() with empty string.
Merge pull request #210 from adobe/glenn/issue-2932

Don't call JSON.parse() with empty string