code: function repack(obj) {
    var outp = [];
    Object.keys(obj||{}).forEach(function(k){
      outp.push({name:k, version:obj[k]});
    });
    return outp;
  }
docs: splits each property of the dependencies object into its own object in an array i.e. {'a':1, 'b':2} becomes [{'name':'a','version':1},{'name':'b', 'version':2}]