return document ID along with document content