Changed SocketIO to create an empty JSOnObject instead of null on JSOMMessage error