The Second Order Beckmann Rearrangement