Add properties_to_hash method, which finds all a selectors properties and returns them in a hash