Set request['params'] to a dictionary type if the only parameter is a dictionary