PEL: Only hexdump the UserData data, not header

In the case where this is no built in or user defined parser for a
UserData PEL section, peltool will hexdump it.

Instead of hexdumping the whole section, which includes the header,
print the  component ID, subtype, and version fields from the section
header separately, and only hexdump the data:

"User Data 5": {
    "Section Version":          "3",
    "Sub-section type":         "2",
    "Created by":               "0x1000",
    "Data": [
        "01 02 03 04 05 06 07 08  09 0A 0B 0C 0D 22 5C 41  |  .............\"\\A",
    ]
}

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ie6c791fcc5c23565ca55d0bbf8d0cbb643234f66
diff --git a/extensions/openpower-pels/json_utils.cpp b/extensions/openpower-pels/json_utils.cpp
index 871bd32..dfb6698 100644
--- a/extensions/openpower-pels/json_utils.cpp
+++ b/extensions/openpower-pels/json_utils.cpp
@@ -67,10 +67,10 @@
 
     return output;
 }
-char* dumpHex(const void* data, size_t size)
+char* dumpHex(const void* data, size_t size, size_t indentCount)
 {
     const int symbolSize = 100;
-    std::string jsonIndent(indentLevel, 0x20);
+    std::string jsonIndent(indentLevel * indentCount, 0x20);
     jsonIndent.append("\"");
     char* buffer = (char*)calloc(10 * size, sizeof(char));
     char* symbol = (char*)calloc(symbolSize, sizeof(char));