title: node.js store objects in redis
body: <p>Here is the thing - I want to store native JS (node.js) objects (flash sockets references) in redis under a certain key. When I do that with simple <code>client.set()</code> it's stored as a string. When I try to get value I get <code>[object Object]</code> - just a string.</p>
  
  <p>Any chance to get this working? Here's my code:</p>
  
  <pre><code>  addSocket : function(sid, socket) {
      client.set(sid, socket);
    },
  
    getSocket : function(sid) {
      client.get(sid, function(err, reply) {
        // cant't get an object here. All I get is useless string
      });
    },
  </code></pre>