harmonize the creation of the meta data tables in the document browser and the corpus browser (fixes #370)