Flatten Webform fields to expose all fields for SharePoint mapping
Replace getElementsDecoded() with getElementsDecodedAndFlattened() to expose all webform fields as the current code does not account for nested fields. Change removes hierarchy data, but currently not used in mapping feature.