code: function map (obj) {
    var key, val, arr = []
    for (key in obj) {
      val = obj[key]
      if (Array.isArray(val))
        for (var i = 0; i < val.length; i++)
          arr.push([key, val[i]])
      else if (typeof val === 'object')
        for (var prop in val)
          arr.push([key + '[' + prop + ']', val[prop]])
      else
        arr.push([key, val])
    }
    return arr
  }
docs: Maps object to bi-dimensional array Converts { foo: 'A', bar: [ 'b', 'B' ]} to [ ['foo', 'A'], ['bar', 'b'], ['bar', 'B'] ]