!str #15121 MaterializerSettings now uses a config object

Resolves #15121
Merge pull request #15759 from ktoso/wip-reduce-weight-flow-materializer-ktoso

!str #15121 MaterializerSettings now uses a config object