Make sure params is an object before iterating
Make sure params is an object before iterating

If params is not an object, we might end up iterating through the
characters of a string or elements of an array.  This is not what
we want, so make sure that params is an object before we do anything.

lognormal/boomerang,lognormal/boomerang