allow converting document to string