Fix template replace for Array

We didn't dive into arrays.

Tested: Fan clamps were populated

Change-Id: Id864f1bd37a4e94a73cbcd17013b04b0e0715306
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/EntityManager.cpp b/src/EntityManager.cpp
index 03d16f7..ab7938e 100644
--- a/src/EntityManager.cpp
+++ b/src/EntityManager.cpp
@@ -1130,7 +1130,8 @@
         foundDevice,
     size_t& foundDeviceIdx)
 {
-    if (keyPair.value().type() == nlohmann::json::value_t::object)
+    if (keyPair.value().type() == nlohmann::json::value_t::object ||
+        keyPair.value().type() == nlohmann::json::value_t::array)
     {
         for (auto nextLayer = keyPair.value().begin();
              nextLayer != keyPair.value().end(); nextLayer++)