Fix TypeError when accessing the API root
DRF sometimes passes a 'format' argument, which causes many errors in the logs.