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

Fixes adobe/brackets#2932