code: def dereference_package_descriptor(descriptor, base_path):
      
      for resource in descriptor.get('resources', []):
          dereference_resource_descriptor(resource, base_path, descriptor)
      return descriptor
docs: Dereference data package descriptor (IN-PLACE FOR NOW).