python sender script to connect to remote execution api

I want to generate a python command from maya and send that string of command to ue5 via it’s python remote execution api.
Here is how far I got:

import socket

def main():
    MCAST_GRP = '239.0.0.1'
    MCAST_PORT = 6766
    sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
    sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, 32)
    # sock.sendto("Hellow World!", (MCAST_GRP, MCAST_PORT))
    # sock.bind((MCAST_GRP, MCAST_PORT))
    sock.sendto(b"print('hellow world!')", (MCAST_GRP, MCAST_PORT))

if __name__ == '__main__':
    main()

And the ue5 output log error is:
LogPythonRemoteExecution: Error: Failed to read remote execution message ‘print(‘hellow world!’)’: Failed to deserialize json object! Invalid Json Token. Line: 1 Ch: 1