Add regions config conversion function