tailscale lock
This patch extracts the functions used to marshal the JSON output of the `tailscale lock` subcommand. Updates #17613 Signed-off-by: Simon Law <[email protected]>