Getting null on server while sending JSONOBJECT using NodeJS

Hi, I need help… I am using NodeJS as a server for the network gaming

when I am trying to send the position of the player using JSONOBJECT I am getting Null on the server

public SocketIOComponent socket;

public void OnMove(Vector3 position)
{
    // Send position to node
    Debug.Log("Sending Position to Node: " + VectorToJson(position));
    socket.Emit("move", new JSONObject(VectorToJson(position)));
}

string VectorToJson(Vector3 vector)
{
    return string.Format(@"((""x"":""{0}"", ""y"":""{1}""))", vector.x, vector.z);
}

}

Server Code:

var io = require(‘socket.io’)(process.env.port || 3000);

console.log(“Server started”);

var playerCount = 0;

io.on(‘connection’, function(socket){
console.log(“Unity clinet connected…, broadcasting spawn”);

socket.broadcast.emit('spawn');
playerCount++;

for(i = 0; i < playerCount; i++){
    socket.emit('spawn');
    console.log("Sending spawned player to new clients");        
}

socket.on('move', function(data){
    console.log('client moved', JSON.stringify(data));
    
    socket.broadcast.emit('move', data);
});

socket.on('disconnect', function(){
    console.log("Client disconnected");
    playerCount--;
});

})

I have been working to update GitHub - AlexanderDykov/Unity-NodeJS-Game: Simple Unity(client) + node.js(server) game project. It sends player position data to the server which then sends it the Clients.

There are several examples of JSONObject messages in the code that might help.

My project is at GitHub - CmdrZin/NodeJS: Node.js Server/Client project examples