Update mapParams() method.
Return an array with param name as key and not id as key:
array(1 => 'value') to array('name' => 'value')