Correct type of dependencies

According to https://npmjs.org/doc/json.html the dependencies should be a hash, not an array, and some things barf when they see an array here.