emit error in data instead of calling callback (for package.json parse errors)