do not assume params are dictionaries before scrubbing