protected function generateConfigJobArgs()
    {
        $configInstance = $this->getConfigInstance();
        $args = [];
        if ($configInstance instanceof ITripodConfigSerializer) {
            $config = $configInstance->serialize();
        } else {
            $config = \Tripod\Config::getConfig();
        }
        if (isset($config['class'])) {
            $args[self::TRIPOD_CONFIG_GENERATOR] = $config;
        } else {
            $args[self::TRIPOD_CONFIG_KEY] = $config;
        }
        return $args;
    }