changes parse_req to use ParsedString