Move leafDataToString to utils

Change-Id: I3ddb9b55a0e3d4371cb8e6569e4e70c6d284bdbf
diff --git a/src/utils.hpp b/src/utils.hpp
index dcaefb3..a9fde88 100644
--- a/src/utils.hpp
+++ b/src/utils.hpp
@@ -21,3 +21,4 @@
 std::string fullNodeName(const dataPath_& location, const ModuleNodePair& pair);
 /** Returns a subset of the original set with only the strings starting with prefix */
 std::set<std::string> filterByPrefix(const std::set<std::string>& set, const std::string_view prefix);
+std::string leafDataToString(const leaf_data_ value);