added '_rev' field to document.