@NiLuJe
I'm not familiar with the calibre plugin, where do the items hashes come from? Are they generated by the plugin (which means they would have to be created on the kindle) or are they extracted from the Kindle db?
@kaznelson
1) updated with your list
2) books in documents/ are now ignored. I agree the root collection made no sense