OutputRunner encoding

Closes #922, albeit in a different way than originally planned.