fixed bug with reading documents without id - temporary solution, whole DocumentReader class should be rebuilt