json: format output with 4-space indentation

Use `dump(4)` instead of `dump()` to generate JSON with
4-space indentation, improving readability of written files.

Change-Id: Ib0a0e932bba76091dbb6a6b89640e579df289747
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/user_channel/user_mgmt.cpp b/user_channel/user_mgmt.cpp
index e51e4e5..92b9659 100644
--- a/user_channel/user_mgmt.cpp
+++ b/user_channel/user_mgmt.cpp
@@ -1291,7 +1291,7 @@
         throw std::ios_base::failure(
             "Error in creating temporary IPMI user data file");
     }
-    const auto& writeStr = jsonUsersTbl.dump();
+    const auto& writeStr = jsonUsersTbl.dump(4);
     if (write(fd, writeStr.c_str(), writeStr.size()) !=
         static_cast<ssize_t>(writeStr.size()))
     {