Config flattening