html to render messages by their id
/id endpoint return html if visited with a browser and JSON otherwise