fixed incorrect encoding when reading package.json