sdbus++: events: fix OEM format in Redfish registry

Fix the following:
   - OEM fields should be identified with "Oem" in Redfish.
   - The top-level "Oem" section should be an object and not array of
     objects.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic63e6e728b5d58d7e6f0fb51f1c018cda2c3e613
diff --git a/tools/sdbusplus/event.py b/tools/sdbusplus/event.py
index 2c8d935..66bcdb5 100644
--- a/tools/sdbusplus/event.py
+++ b/tools/sdbusplus/event.py
@@ -81,7 +81,7 @@
         result["NumberOfArgs"] = len(args)
         result["ParamTypes"] = [x.registry_type() for x in args]
 
-        result["OEM"] = {
+        result["Oem"] = {
             "OpenBMC_Mapping": {
                 "Event": interface + "." + self.name,
                 "Args": self.registry_args_mapping(interface),
@@ -232,6 +232,6 @@
         }
 
         if len(mappings) != 0:
-            result["OEM"] = ({"OpenBMC_Mapping": mappings},)
+            result["Oem"] = {"OpenBMC_Mapping": mappings}
 
         return json.dumps(result, indent=4)