Fixed an issue where we would get no implicit conversion of nil into string in the JSON.parse. For the fix I am having it pass a empty json object if the result is nil as JSON.parse cannot handle empty strings.
Merge pull request #22 from KellyLSB/master

Fixing an issue where we occasionally get a no implicit conversion of nil into string error.