fix mimetype of jsonserialze example
fix python3 compatibility for jsontool web example (issue #67)