Move municipality from tree to flat table structure