Function matchBased2DeclarativeFlatMapping

Converts a match based flat mapping to a declarative flat mapping

the match based flat mapping is a more flexible way to define mappings upon tables that can change over time, where a column index is not a stable identifier

in order to use the flat mapping, column indices need to resolved based on the given titles or title patterns within the table header, this is done by the columnMatcher