json socket  enhanced