nvme-print: print the nvme generic name in json output as well
For both simple and detailed outputs present the nvme generic
chardev name/path similar to how the ns name/path is presented.
Fixes: f0895ceb145e ("nvme-print: print generic device in list command")
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Link: https://lore.kernel.org/r/20230215090020.620994-1-sagi@grimberg.me
[dwagner: added additional "Generic" output to json_details_list in the
"Namespace" section]
Signed-off-by: Daniel Wagner <dwagner@suse.de>