fix json parse issue during npm publish