JSON deps fix

The behavior should be "Check deps field in the json file, if none provided then use the one from the options (which is either rhe one provided through options or [] because of the initial merge with defaults)"

A the moment it ignores the JSON deps because options.deps is always there (from merge with defaults)