Why not pass in connection.json? It makes it more clear why stringifySend needs the first argument.