Fix append
Handle package.json syntax error