Restructure config data