Revert "getField can throw assertion error if you ask for super types, use the field matched instead for fields from super types"

This reverts commit 312fc75da05f1fcc23fb774ba0236d76ee98b401.
redo the PR #167 in a different manner