return empty array instead of undefined if JSON.parse() fails
ignore non-json package.json files

It's annoying, but they do exist in the wild.
v0.1.4
inherits update
v0.1.5