Update socket.io and angular
Use toJSON format