diff --git a/PVE/APIServer/Formatter/HTML.pm b/PVE/APIServer/Formatter/HTML.pm
index 7a4f64f..743d0ad 100644
--- a/PVE/APIServer/Formatter/HTML.pm
+++ b/PVE/APIServer/Formatter/HTML.pm
@@ -235,13 +235,13 @@ PVE::APIServer::Formatter::register_formatter($portal_format, sub {
} else {
- my $json = to_json($data, {allow_nonref => 1, pretty => 1});
+ my $json = to_json($data, {allow_nonref => 1, pretty => 1, canonical => 1});
$html .= $doc->el(tag => 'pre', text => $json);
}
} else {
- my $json = to_json($data, {allow_nonref => 1, pretty => 1});
+ my $json = to_json($data, {allow_nonref => 1, pretty => 1, canonical => 1});
$html .= $doc->el(tag => 'pre', text => $json);
}