JSON output with path name and link information

Change the listing of paths delimited by newlines to a more complete
JSON output. The output currently features the existing pathname
alongside assets and links.