added option to read only a single field
optimized handling scan result and remove typeinfo dependency