set a _format requirement in generated routes