Print brief usage message if stdin is a tty

It's rather confusing when you run a script and it just sits there not
doing anything visible.

If you really want to manually type in JSON, feel free to use

  cat | ./script