Fix oc_rep's parsing of hierarchies with root-level arrays
Fix oc_rep's parsing of hierarchies with root-level arrays

Change-Id: I6fa706992b746d2034cd820df990ea1afb87d69f
Signed-off-by: Kishen Maloor <c62ddea3cd661a9268bff15f07fc2229cdc9ac02@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14389

iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained,iotivity/iotivity-constrained