Add support for reading from stdin
Add support for piping in JSON