Rather than clicking on the bodies, leave them where they fall. When you get a chance or have cleared the map, exit the map and re-enter. The bodies will be gone, but there will be piles of loot where they fell. The NPC will not loot the pile. Walk over and pick everything up. Also, if your hireling has picked up something he/she cannot identify, when you are bartering select the NPC and drag the item to a different character's inventory. Usually when you try this, the NPC refuses to drop the item, but it works with unidentified items while in the barter menu.