render documents from fetched data. closes #44