bugfix: NPM may return JSON arrays which were not supported by the NPM module and the NPM state.