Removed convertToHTML middleware