nix-env -qa --json: Generate valid JSON even if there are invalid meta attrs