code: function flip(o) {
      var flipped = { };
      for (var i in o) {
          if (o.hasOwnProperty(i)) {
              flipped[o[i]] = i;
          }
      }
      return flipped;
  }
docs: Utilities --------- `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`