Handle arrays which may contain hashes when param scrubbing