Check if JSON object is array, if we want to use it as array.
Merge branch 'v0.11' of github.com:cocaine/cocaine-plugins into v0.11