Fix NPE in JSONDump
Merge pull request #2 from sqs/fix-npe-in-jsondump

Fix NPE in JSONDump