Add source document to_s to statement export