fixes #19: use Flask's JSON serializers in gevent-socketio