Restrict meta data rest api "docnames" to documents. Until now also subcorpora
were provided.

closes #247