build objects can hash themselves

adding the dunder hash method to jenkins objects