public function prettifyParameters($reportUri, array $parameters) {
        //Get the report input controls
        try {
            $inputControls = $this->getReportInputControls($reportUri, true);
        } catch (\Exception $e) {
            $out="";
            foreach ($parameters as $k =>$v){
                foreach ($v as $item)
                $out.=$k.": ".$item."<br/>";
            }
            return $out;
        }

        //Convert the input controls and the parameters into a string
        $output = array();
        foreach($inputControls as $key => $inputControl) {
            //If the input control has options or not
            if (null !== $inputControl['options']) {
                //If the parameter has values for the input control
                if (isset($parameters[$key])) {
                    //Foreach selection in the parameters array, convert to the option label
                    $labels = array();
                    foreach($parameters[$key] as $selection) {
                        if (isset($inputControl['options'][$selection])) {
                            $labels[] = $inputControl['options'][$selection];
                        } else {
                            $labels[] = 'Unrecognized Value';
                        }
                    }

                    //Add to the output
                    $output[] = $inputControl['control']->getLabel() . ': ' . implode(', ', $labels);
                } else {
                    //Show that the selection was blank
                    $output[] = $inputControl['control']->getLabel() . ': ---';
                }
            } else {
                //Check if a value exists in the parameters array
                if (isset($parameters[$key])) {
                    $output[] = $inputControl['control']->getLabel() . ': ' . implode(', ', $parameters[$key]);
                } else {
                    //Check if a default value exists, else mark it as being empty
                    if ($inputControl['control']->getDefaultValue()) {
                        $output[] = $inputControl['control']->getLabel() . ': ' . $inputControl['control']->getDefaultValue();
                    } else {
                        $output[] = $inputControl['control']->getLabel() . ': ---';
                    }
                }
            }
        }

        //Glue the output array together into a string
        return implode('<br/>', $output);
    }