protected function processArray($value, $json = false)
    {
        if (is_array($value)) {
            
            if ($this->isCallbackArray($value)) {
                return $this->processCallbackArray($value);
            }
            
            return $json ? json_encode($value) : implode(', ', $value);
            
        }
        
        return $value;
    }