Handle invalid JSON config
Merge pull request #182 from joshtombs/jt/handleJSONerror

Handle invalid JSON config