diff --git a/dist/chef/sa-monitoring/libraries/sa-monitoring.rb b/dist/chef/sa-monitoring/libraries/sa-monitoring.rb
index <HASH>..<HASH> 100644
--- a/dist/chef/sa-monitoring/libraries/sa-monitoring.rb
+++ b/dist/chef/sa-monitoring/libraries/sa-monitoring.rb
@@ -17,7 +17,7 @@ module SAM
 
     config.merge!(databag)
 
-    return config
+    JSON.pretty_generate(config)
   end
 
 end
config will be pretty generated json