Institutional Design of Criminal Justice Processes