Support priority and weight 

This PR adds support for returning priority and weight in the results returned in a lookup.