Refactoring commonality between raw/nuget content fetching