better parsing of responses without parse_str