check for valid json
Merge pull request #289 from duckduckgo/russell/zeros

check for valid json