refactor reading to avoid custom logic for nullables
Merge pull request #1 from ahoy-jon/master

refactor reading to avoid custom logic for nullables