Move document to HTML conversion to conversion module