Make sure that PARAMS argument is an alist

See also: http://stackoverflow.com/a/16380024/727827