bugfix: NPM may return JSON arrays which were not supported by the NPM module and the NPM state.
Merge pull request #5089 from shintonik/develop

Bugfix: NPM module and state (support for JSON Arrays)