sockets do json fine