title: How to transfer data structures between browser and server
body: <p>In the context of interactive web apps, especially those libraries utilizing technologies such as websockets, how can we transfer data structures (e.g. maps, lists, sets, etc) between the client browser and the server? The examples I've come across so far only pass strings.</p>
  
  <p>Is this supported case by case dependent on the libraries used, or a more general mechanism is available?</p>