wrap json parse in try catch
Merge pull request #16 from surespot/trycatch

wrap json parse in try catch