refactor getAllNonStaticFieldValuesFrom to use existing methods