+ #foreach($entry in $rowProperties.entrySet()) ## Iterate over the outer map
+ #if($entry.value) ## Check if the value exists for this entry
+ #set($nestedMap = $entry.value) ## Get the nested value
+ #if($nestedMap && $nestedMap.size() > 0) ## Check if nestedMap is a Map with entries
+ #foreach($nestedEntry in $nestedMap.entrySet()) ## Iterate over the nested map
+ #if($nestedEntry.value) ## Ensure that there’s a value for this nested entry
+
+
+ $nestedEntry.key
+
+ #if($nestedEntry.value.startsWith("data:image/"))
+

+ #else
+
+ $nestedEntry.value
+
+
+ #end
+
+ #end
+ #end
+ #else
+
+
+ $entry.key
+
+ #if($entry.value.startsWith("data:image/"))
+

+
+ #else
+
+ $entry.value
+
+ #end
+
+ #end
+ #end
+ #end
+