Add ability to pass arbitrary hash to implement ECMP spreading