Speedup get_addresses_by() by doing manual blessing of the data returned from the DB.