dict-to-dict translation framework