map a url to variable names, suggested by #emacs jaimef. like what sinatra does