Enhancement: Add support for `--json` option to `version` command

Restic now supports outputting restic version and used go version, OS and
architecture via JSON when using the version command.

https://github.com/restic/restic/issues/4547
https://github.com/restic/restic/pull/4553
