Sanitize during parsing itself