Added JSON output for secondary diff