Zigzag grounding transformer