JSON output for as-paths