I guess we could make this a little bit more readable:

```
var that = {
    'id': entity.id,
    'displayName': entity.displayName,
    'tenant': entity['oae:tenant'] || entity.tenant,
    'visibility': entity['oae:visibility'] || entity.visibility,
    'resourceType': entity['oae:objectType'] || entity.objectType,
    ...
};

if (entity.image) {
    that.thumbnailUrl = entity.image.url
}

if (entity['oae:wideImage']) {
    that.wideImage = entity['oae:wideImage'].url;
}
```