fixed bugs in json files, added test for unicode