"environment" => is_object($this->environment) ? $this->environment->__toString() : $this->environment,