Make plain text sql capture easier to work with