fixed issue with json notation
handling sockets