serialize config for table mode