On Windows, t-json fails with t-export. The problem is CRLF. On Windows, gpg emits CRLF for the invocation of --armor --export. The result is expected with no CR but LF only, so, it fails.