A python dict with special features