Initial stab at parsing XE fields robustly