Breaks load on json parse error

This PR is to fix https://github.com/datproject/gasket/issues/1. 

I don't have much experience with error handling to let me know if there is a better way!