Sanitizing parameter when it's a dictionary.