Updated flattable-container to use a vector instead of a map