Resolve "configure_model mutates parameter"
replaced .pop with [] to get the yield out of the config dict. Passes tests.
If it really fails somewhere afterwards (for whatever reason) I would propose to fix it somewhere else in order not to rely on the modification of the config.
Worst, worst case things are undone quite easily.
Ready to merge from my side.
Closes #27 (closed)