Small optimizations

Using only required fields from document while reading data to reduce size of the transmitted document.