Remove 'format' field from the query after it has been processed.