You can't do that. Putting this on the defender is the wrong target.
The two structural changes that I would make are:
1) Any monetary collection by the "justice system" goes to a victim or into a fund which gets redistributed to the general public at the end of the year.
No more funding things with fines (aka regressive tax on the poor). You want funding--it comes out of taxes, period. This stops a lot of the perverse incentives in the system.
Marijuana legalization is mostly held up because the fines from it fund the "justice system".
2) Prosecutors may not offer plea deals.
As we have seen time and again, this devolves into abuse of office. Prosecutors offer deals with far fewer consequences to rich, non-minority defendants.
I would actually go one further:
3) Prosecutors don't get any ability to pick the jury.
The court should be able to strike people for various bias reasons. The defense should be able to strike people with some limitations.
The prosecution should have to make the case with the jury provided by the court system and the defense. Prosecutors already have far too many advantages when conducting a trial (too many jurors are "He's in the chair--he's guilty."). If they can't make a criminal conviction with those, then they shouldn't be prosecuting it in the first place.