Improve the conversion for nested dictionaries
For kwargs given with dictinoaries, recursively convert. This should allow kwargs as dict to be passed through.
For kwargs given with dictinoaries, recursively convert. This should allow kwargs as dict to be passed through.