Dropdownlist hook to rest-webservice

It would be cool and handy to be able to hook a dropdownlist not only to a list but also an extern json/rest webservice. Wether this is totally external or an exposed rest service is up to the developer.