Fix json errors
Merge pull request #2 from danieljames/fix-json

Fix some json errors.