Semi-universal input handling.

Plus support for RS-delimited JSON sequences.

Closes #11.