Broad refactor of how things work, moving `json.rs` to `format.rs`. Adds support for TOML, along with CLI stuff for setting formats (which are automatically inferred from filenames). Adds support for binary data using base64 encodings.