I don't recall NPM having any settings that can take a JSON value.
Which settings do you need this for?