Remove 'format' from params when it is used