jsonify clients, fix module loading, tracebacks