fix json test (null-terminate read)
Merge pull request #51 from badgerman/master

fix json test (null-terminate read)