Fix various errata found from testing.
diff --git a/sections/cper-section-arm.c b/sections/cper-section-arm.c
index 5a91235..c52da3e 100644
--- a/sections/cper-section-arm.c
+++ b/sections/cper-section-arm.c
@@ -214,7 +214,7 @@
     json_object* bus_error_ir = json_object_new_object();
 
     //Validation bits.
-    json_object* validation = bitfield_to_ir(bus_error->ValidationBits, 7, ARM_BUS_ERROR_VALID_BITFIELD_NAMES);
+    json_object* validation = bitfield_to_ir(bus_error->ValidationBits, 12, ARM_BUS_ERROR_VALID_BITFIELD_NAMES);
     json_object_object_add(bus_error_ir, "validationBits", validation);
 
     //Transaction type.
diff --git a/sections/cper-section-cxl-protocol.c b/sections/cper-section-cxl-protocol.c
index c8c2c09..4f1d932 100644
--- a/sections/cper-section-cxl-protocol.c
+++ b/sections/cper-section-cxl-protocol.c
@@ -76,7 +76,7 @@
         //(36-byte, padded to 60 bytes) or PCIe 2.0 Capability Structure (60-byte). There does not seem
         //to be a way to differentiate these, so this is left as a b64 dump.
         char* encoded = b64_encode(cxl_protocol_error->CapabilityStructure.PcieCap, 60);
-        json_object_object_add(section_ir, "capabilityStructure", json_object_new_uint64(cxl_protocol_error->DeviceSerial));
+        json_object_object_add(section_ir, "capabilityStructure", json_object_new_string(encoded));
         free(encoded);
     }