protected function dumpConfig(Request $request, $test = true)
{
$data = json_decode($request->getContent(), true);
$configService = $this->get('partkeepr.setup.config_service');
$config = $configService->getConfig($data['values']);
file_put_contents($configService->getConfigPath($test), $config);
}