`uri` is already a String.
```ruby
'uri'    => normalize_uri(uri, "mobile", "index.php"),
```