lpdump: don't dump snapshot info when running with --json

It is expected to dump info in json format only when lpdump is invoked
with --json flag. Move the snapshot info logic from lpdumpd to lpdump
and supress it when running with --json flag.

Bug: 360431659
Test: Th
Test: lpdump --json
Change-Id: I0eeb5ba6190ce03851795060aa7f573c20666b17
Signed-off-by: Sandeep Dhavale <dhavale@google.com>
3 files changed