title: How to handle a result from an hgetall() in nodejs (nowjs)?
body: <p>I am using redis + nowjs.
  I would like to know how to go about handling a result from an hgetall()?
  When I try to display the "result" in the client side, I only get [object Object] (it is probably a string from the server-side js).</p>
  
  <p>//Redis result is</p>
  
  <pre><code>redis&gt; HSET cards:lightning-bolt name "Lightning Bolt"
  (integer) 1
  redis&gt; HSET cards:lightning-bolt text "Blah blah blah"
  (integer) 1
  redis&gt; HGETALL cards:lightning-bolt
  1) "name"
  2) "Lightning Bolt"
  3) "text"
  4) "Blah blah blah"
  redis&gt;
  </code></pre>
  
  <p>//In my server js</p>
  
  <pre><code>everyone.now.signalShowRedisCard = function(card_id) {
      var self = this;
      client.hgetall(("cards:%s" % card_id), function (err, res) {
          nowjs.getGroup(self.now.room).now.receiveShowRedisCard(res);
      });
  }
  </code></pre>
  
  <p>//In my client js (the alert just outputs [object Object])</p>
  
  <pre><code>now.receiveShowRedisCard = function(card_data) {
      alert("redis card: "+card_data);
      try {
        console.log('card data: '+ card_data);
      } catch(e) {
        console.log("Firebug not installed.");
      }
  }
  </code></pre>
  
  <p>Any ideas? Any reply is appreciated.</p>