Use objects for history content
Improve history item rendering