Fixing issue #6 (https://github.com/codesake/codesake_dawn/issues/6).
Now JSON output is correct, or it should be :-)