Custom output payloads with socket.io

I ran a few more tests on the socket.io connector. I think the issue is in the socketio channel. This is what i did: Copied the “rasa/core/channels/socketio.py” implementation into my rasa open source folder. Added it as a custom connector in the credentials.yml:

sockettest.SocketIOInput:
  user_message_evt: user_uttered
  bot_message_evt: bot_uttered
  session_persistence: true

Changed the method send_custom_json in class SocketIOOutput from: image

to:

image

Now I recieve the custom output payloads in my frontend. Please fix this asap, I need it for chatbot development. Thank you.