Handle Nullable fields.

Since get<Type>() method of a cursor is undefined for null values. 
This forces all null values in the db to be null in the object.