Add url function

The key-url function forwards to the new general url function.
Remove :root-key from query-params