Added support for escaped keys; added randomUrl()