diff --git a/doc/meta.xml b/doc/meta.xml
index 7740b7c9ed8..f9a27cc9859 100644
--- a/doc/meta.xml
+++ b/doc/meta.xml
@@ -33,33 +33,41 @@ the package. The value of a meta-attribute must a string.
command-line using nix-env:
-$ nix-env -qa hello --meta --xml
-<?xml version='1.0' encoding='utf-8'?>
-<items>
- <item attrPath="nixos.pkgs.hello" name="hello-2.9" system="x86_64-linux">
- <meta name="description" type="string" value="A program that produces a familiar, friendly greeting" />
- <meta name="homepage" type="string" value="http://www.gnu.org/software/hello/manual/" />
- <meta name="license" type="string" value="GPLv3+" />
- <meta name="longDescription" type="string" value="GNU Hello is a program that prints "Hello, world!" when you run it.
It is fully customizable.
" />
- <meta name="maintainers" type="strings">
- <string value="Ludovic Courtès <ludo@gnu.org>" />
- </meta>
- <meta name="platforms" type="strings">
- <string value="i686-linux" />
- <string value="x86_64-linux" />
- <string value="armv5tel-linux" />
- <string value="armv7l-linux" />
- <string value="mips64el-linux" />
- <string value="x86_64-darwin" />
- <string value="i686-cygwin" />
- <string value="i686-freebsd" />
- <string value="x86_64-freebsd" />
- <string value="i686-openbsd" />
- <string value="x86_64-openbsd" />
- </meta>
- <meta name="position" type="string" value="/nix/store/cn8zjjdd9kvmp1p5d21h7ya0cr1jhkk3-nixos-14.10pre44264.12f06b3/nixos/nixpkgs/pkgs/applications/misc/hello/ex-2/default.nix:14" />
- </item>
-</items>
+$ nix-env -qa hello --meta --json
+{
+ "hello": {
+ "meta": {
+ "description": "A program that produces a familiar, friendly greeting",
+ "homepage": "http://www.gnu.org/software/hello/manual/",
+ "license": {
+ "fullName": "GNU General Public License version 3 or later",
+ "shortName": "GPLv3+",
+ "url": "http://www.fsf.org/licensing/licenses/gpl.html"
+ },
+ "longDescription": "GNU Hello is a program that prints \"Hello, world!\" when you run it.\nIt is fully customizable.\n",
+ "maintainers": [
+ "Ludovic Court\u00e8s "
+ ],
+ "platforms": [
+ "i686-linux",
+ "x86_64-linux",
+ "armv5tel-linux",
+ "armv7l-linux",
+ "mips64el-linux",
+ "x86_64-darwin",
+ "i686-cygwin",
+ "i686-freebsd",
+ "x86_64-freebsd",
+ "i686-openbsd",
+ "x86_64-openbsd"
+ ],
+ "position": "/home/ielectric/dev/nixpkgs/pkgs/applications/misc/hello/ex-2/default.nix:14"
+ },
+ "name": "hello-2.9",
+ "system": "x86_64-linux"
+ }
+}
+