public function setComplexConfig($name, $key, TableNode $config_table)
    {
        $value = array();
        foreach ($config_table->getHash() as $row) {
            // Allow json values for extra complexity.
            if (json_decode($row['value'])) {
                $row['value'] = json_decode($row['value'], true);
            }
            $value[$row['key']] = $row['value'];
        }
        $this->setConfig($name, $key, $value);
    }