Extract runner output parser to per-line function.

See #224.