updated to work with latest npm package versions
json config