Can you just use PropertyUtils.getNestedProperty here?