function parseAsObject(docblock) {
  var pairs = parse(docblock);
  var result = {};
  for (var i = 0; i < pairs.length; i++) {
    result[pairs[i][0]] = pairs[i][1];
  }
  return result;
}
Same as parse but returns an object of prop: value instead of array of paris
If a property appers more than once the last one will be returned

@param {String} contents
@return {Object}