[WIP]hydrate record entity from elasticsearch data and use it for display purpose

I agree I would do that in an other PR as it is widely use in templates