public function getManifestOnly($systemOnly = false, $fullTree = false)
    {
        $this->data['system']['role'] = $this->getAllResources('system', 'role', ['fields' => 'id,name']);
        $this->data['system']['service'] =
            $this->getAllResources('system', 'service', ['fields' => 'id,name'], null, false);
        // Keeping a separate copy of all services to fetch exportable resources for each services.
        $allServices = $this->data['system']['service'];
        $this->data['system']['app'] = $this->getAllResources('system', 'app', ['fields' => 'id,name']);
        $this->data['system']['user'] =
            $this->getAllResources('system', 'user', ['fields' => 'id,email,username,first_name,last_name']);
        $this->data['system']['admin'] =
            $this->getAllResources('system', 'admin', ['fields' => 'id,email,username,first_name,last_name']);
        $this->data['system']['custom'] = $this->getAllResources('system', 'custom');
        $this->data['system']['cors'] = $this->getAllResources('system', 'cors', ['fields' => 'id,path']);
        $this->data['system']['email_template'] = $this->getAllResources('system', 'email_template',
            ['fields' => 'id,name']);
        $this->data['system']['event_script'] = $this->getAllResources('system', 'event_script', ['fields' => 'name']);
        $this->data['system']['lookup'] = $this->getAllResources('system', 'lookup', ['fields' => 'id,name']);

        /* Check for paid limits class */
        if (class_exists(\DreamFactory\Core\Limit\ServiceProvider::class)) {
            $this->data['system']['limit'] = $this->getAllResources('system', 'limit', ['fields' => 'id,name']);
        }

        $manifest = $this->package->getManifestHeader();
        $this->getAllowedSystemResources($manifest);

        // If system/service is not allowed for the user then remove it from output array.
        if (!Session::checkServicePermission(Verbs::GET, 'system', 'service', Session::getRequestor(), false)) {
            unset($manifest['service']['system']['service']);
            if(empty($manifest['service']['system'])){
                unset($manifest['service']['system']);
            }
        }

        if (false === $systemOnly) {
            $this->getAllowedServiceResources($manifest, $allServices, $fullTree);
        }

        return $manifest;
    }