How can the government reduce its role as the biggest litigant to address the backlog in Indian courts?

The Supreme Court judge mentioned that the government is a major contributor to court backlogs. I want to analyze the reasons for this and discuss possible reforms or strategies to minimize unnecessary government litigation.