title: nodejs : TypeError: Object #<Object> has no method 'map'
body: <p>I'm trying to iterate a json object with nodejs and it's turning out to be a real challenge.</p>
  
  <pre><code>&gt; var fs = require('fs');
  &gt; var meta = JSON.parse(fs.readFileSync('path_to_file'));
  &gt; typeof meta
  'object'
  &gt; for ( k in meta)  console.log(k);
  key1
  key2
  &gt; meta.map(function(v,k) { console.log(k +'=' + v); })
  TypeError: Object #&lt;Object&gt; has no method 'map'
      at repl:1:7
      at REPLServer.self.eval (repl.js:110:21)
      at Interface.&lt;anonymous&gt; (repl.js:239:12)
      at Interface.EventEmitter.emit (events.js:95:17)
      at Interface._onLine (readline.js:202:10)
      at Interface._line (readline.js:531:8)
      at Interface._ttyWrite (readline.js:760:14)
      at ReadStream.onkeypress (readline.js:99:10)
      at ReadStream.EventEmitter.emit (events.js:98:17)
      at emitKey (readline.js:1095:12)
  &gt; 
  </code></pre>
  
  <p>I'm new to node, is this normal ? </p>