properly reload package.json data

fixes #536