diff --git a/mixins.yml b/mixins.yml
index b99e4bfec66d33e3d761d2ae20a610e08b080159..a235f7bad2553b5e14b9372651ead340e907532c 100644
--- a/mixins.yml
+++ b/mixins.yml
@@ -70,6 +70,8 @@ stages:
     - sed -i "s/DDQG-unsupported-drupal-views_menu_children_filter-3.0.0.0-RC2/DDQG-unsupported-drupal-views_menu_children_filter-3.0.0.0-RC4/g" composer.json
     - sed -i "s/DDQG-unsupported-drupal-login_destination-2.0.0.0-beta6/DDQG-unsupported-drupal-login_destination-2.0.0.0-beta7/g" composer.json
     #- sed -i "s/###/###/g" composer.json
+    # Finally!!! Normalize composer.json by pretty printing it to ensure consistent structure.
+    - cat composer.json | jq -M . | tee composer.json >/dev/null
 
 .customreferences:
   LanguageFiles: []