How can I conveniently dump a backpack or bag of holding?

Use an ender pouch and instead of dumping the items into your ae system, dump them into a sorting system. You may consider using filing cabinets instead of chests because it can store any item with the same item id aka ignoring metadata and nbt. And for quick access you can hook up storage buses to the filing cabinets