Added BagEntry.toString()

Cosmetic changes to help debugging.