read mongodb doc