json: fix high surrogate escapes
Surrogate escapes must add not or 0x10000, as the specified bits go up 0xfffff.
gitattributes: mark test/data/*.txt as text files
They are text files as far as diff is concerned, although contain invalid utf-8.
Edited by P V