Record the original text along with parsed Rationals: fixes #2245