changed returned data structure, now it combines resolved reps into packages with their metadata.