Re #8979. Adding validateInputs to AlgorithmWrapper.
Re #8979. Protecting against non-string types in the dict.
Merge remote-tracking branch 'origin/feature/8979_validate_inputs'