Imidoylketene-azetin-2-one-oxoketenimine rearrangement