Flags to output just JSON or binary

For saving to a file or piping to another tool.
Merge pull request #7 from singpolyma/output-formats

Flags to output just JSON or binary