結果 : invert nested dictionary python