Add __debugInfo() magic method (available since PHP 5.6)