Converts translation from a dict literal form to a dict constructor.