Further simplify parsing (make calls to parse_key redundant and use parse_line).