Map<Object, Object> map = (Map<Object, Object>) fieldValue;
if ((map != null)) {
Map values = mapr.getOptions().objectFactory.createMap(mf);
if (ProxyHelper.isProxy(map) && ProxyHelper.isUnFetched(map)) {
ProxiedEntityReferenceMap proxy = (ProxiedEntityReferenceMap) map;
Map<Object, Key<?>> refMap = proxy.__getReferenceMap();
for (Map.Entry<Object, Key<?>> entry : refMap.entrySet()) {
Object strKey = entry.getKey();
values.put(strKey, mapr.keyToRef(entry.getValue()));
}
} else {