Enhancement: Add JSON support to `prune` command

The `prune` command now supports the `--json` option for JSON output.

https://github.com/restic/restic/issues/3129
https://github.com/restic/restic/pull/5239
