Added Error Handling for invalid JSOn
Merge pull request #144 from BrandonOCasey/master

Added error handling for JSON decode returning NULL