a possibly-working json.dumps
tidy up json serialization code
Merge branch 'master' of github.com:mozilla/jydoop