GOALS: Don't parse json if empty.

if the call to retrieve the goals returned an empty response, don’t try
to parse it
Merge pull request #5 from snowmoonsoftware/master

GOALS: Don't parse json if empty.