diff --git a/doc/v3/api_samples/os-aggregates/aggregate-add-host-post-req.json b/doc/v3/api_samples/os-aggregates/aggregate-add-host-post-req.json
index ea156ada845c..6e3012041b5f 100644
--- a/doc/v3/api_samples/os-aggregates/aggregate-add-host-post-req.json
+++ b/doc/v3/api_samples/os-aggregates/aggregate-add-host-post-req.json
@@ -1,6 +1,5 @@
 {
-  "add_host":
-    {
-      "host": "21549b2f665945baaa7101926a00143c"
+    "add_host": {
+        "host": "21549b2f665945baaa7101926a00143c"
     }
-}
\ No newline at end of file
+}
diff --git a/doc/v3/api_samples/os-aggregates/aggregate-remove-host-post-req.json b/doc/v3/api_samples/os-aggregates/aggregate-remove-host-post-req.json
index c50aadcf6727..14fca62fa6c2 100644
--- a/doc/v3/api_samples/os-aggregates/aggregate-remove-host-post-req.json
+++ b/doc/v3/api_samples/os-aggregates/aggregate-remove-host-post-req.json
@@ -1,6 +1,5 @@
 {
-  "remove_host":
-    {
-      "host": "bf1454b3d71145d49fca2101c56c728d"
+    "remove_host": {
+        "host": "bf1454b3d71145d49fca2101c56c728d"
     }
-}
\ No newline at end of file
+}
diff --git a/doc/v3/api_samples/server-metadata/server-metadata-all-req.json b/doc/v3/api_samples/server-metadata/server-metadata-all-req.json
index 03925e4a4a0f..a085407f8c0b 100644
--- a/doc/v3/api_samples/server-metadata/server-metadata-all-req.json
+++ b/doc/v3/api_samples/server-metadata/server-metadata-all-req.json
@@ -1,5 +1,5 @@
 {
-  "metadata" : {
-    "foo" : "Foo Value"
-  }
-}
\ No newline at end of file
+    "metadata": {
+        "foo": "Foo Value"
+    }
+}
diff --git a/doc/v3/api_samples/server-metadata/server-metadata-req.json b/doc/v3/api_samples/server-metadata/server-metadata-req.json
index b9a8ac208629..f7c794b17c27 100644
--- a/doc/v3/api_samples/server-metadata/server-metadata-req.json
+++ b/doc/v3/api_samples/server-metadata/server-metadata-req.json
@@ -1,5 +1,5 @@
 {
-  "metadata" : {
-    "foo" : "Bar Value"
-  }
-}
\ No newline at end of file
+    "metadata": {
+        "foo": "Bar Value"
+    }
+}
diff --git a/nova/tests/integrated/v3/api_samples/os-aggregates/aggregate-add-host-post-req.json.tpl b/nova/tests/integrated/v3/api_samples/os-aggregates/aggregate-add-host-post-req.json.tpl
index 2a84101a16ee..97395bf2f22e 100644
--- a/nova/tests/integrated/v3/api_samples/os-aggregates/aggregate-add-host-post-req.json.tpl
+++ b/nova/tests/integrated/v3/api_samples/os-aggregates/aggregate-add-host-post-req.json.tpl
@@ -1,6 +1,5 @@
 {
-  "add_host":
-    {
-      "host": "%(host_name)s"
+    "add_host": {
+        "host": "%(host_name)s"
     }
 }
diff --git a/nova/tests/integrated/v3/api_samples/os-aggregates/aggregate-remove-host-post-req.json.tpl b/nova/tests/integrated/v3/api_samples/os-aggregates/aggregate-remove-host-post-req.json.tpl
index 66ecf30cd6d5..4663e5293119 100644
--- a/nova/tests/integrated/v3/api_samples/os-aggregates/aggregate-remove-host-post-req.json.tpl
+++ b/nova/tests/integrated/v3/api_samples/os-aggregates/aggregate-remove-host-post-req.json.tpl
@@ -1,6 +1,5 @@
 {
-  "remove_host":
-    {
-      "host": "%(host_name)s"
+    "remove_host": {
+        "host": "%(host_name)s"
     }
 }
diff --git a/nova/tests/integrated/v3/api_samples/server-metadata/server-metadata-all-req.json.tpl b/nova/tests/integrated/v3/api_samples/server-metadata/server-metadata-all-req.json.tpl
index 2278d2afd806..3812a26c8860 100644
--- a/nova/tests/integrated/v3/api_samples/server-metadata/server-metadata-all-req.json.tpl
+++ b/nova/tests/integrated/v3/api_samples/server-metadata/server-metadata-all-req.json.tpl
@@ -1,5 +1,5 @@
 {
-  "metadata" : {
-    "foo" : "%(value)s"
-  }
+    "metadata": {
+        "foo": "%(value)s"
+    }
 }
diff --git a/nova/tests/integrated/v3/api_samples/server-metadata/server-metadata-req.json.tpl b/nova/tests/integrated/v3/api_samples/server-metadata/server-metadata-req.json.tpl
index 2278d2afd806..3812a26c8860 100644
--- a/nova/tests/integrated/v3/api_samples/server-metadata/server-metadata-req.json.tpl
+++ b/nova/tests/integrated/v3/api_samples/server-metadata/server-metadata-req.json.tpl
@@ -1,5 +1,5 @@
 {
-  "metadata" : {
-    "foo" : "%(value)s"
-  }
+    "metadata": {
+        "foo": "%(value)s"
+    }
 }