function transform( results ) {
	var deps;
	var out;
	var i;
	var j;

	out = {
		'files': [],
		'deps': {}
	};
	for ( i = 0; i < results.length; i++ ) {
		out.files.push( results[ i ].file );
		deps = results[ i ].deps;
		for ( j = 0; j < deps.length; j++ ) {
			out.deps[ deps[ j ] ] = true;
		}
	}
	out.deps = objectKeys( out.deps ).sort();
	return out;
}
Transforms raw package dependency results by de-duplicating file package dependencies.

@private
@param {ObjectArray} results - dependency results
@returns {Object} transformed results