tojson: Add -l/--line option

51927fb4-1db8-11e3-a834-001f3b596ec9