I think we'll need something here that returns objects that contain at least the resourceType, id, displayName and thumbnailImage, so the standard renderThumbnail can be used.

I don't think it would be a good idea to add `data-title`, `data-resourceType` and `data-profileimages` attributes to all list items. We should be able to just check the thumbnail for an image, and check the classes on the thumbnail to find out what the resourceType is.