change random_weighted_element to dict

Change weighted function to expect a dict, and update the en_US address
list to use random_weighted_element.