David E Kelley, som ligger bakom tv-serier som "Ally McBeal" och "Advokaterna", ska göra dramatiserad dokusåpa med riktiga advokater.