Add cat and collect commands.

Also, load now takes JSON sequences.