The government is considering whether to reduce the number of jury trials in a bid to clear a backlog in the courts system.