Novel in situ Formation and Rearrangement of Thiohydrazonate Esters