bugfix for err: failed to parse json on package.json