make params a dict itself - refs #4