List values = value instanceof List ? (List) value : Arrays.asList(value);
Field field = getReverseField().getKeyField();
for (Object item : values) {
result.add(item instanceof Model ?
((Model) item).getValue(field) : new Variant(item).convertTo(field.getFieldClass()));
}
return result;
}