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

The multi-registry configuration, it's a registry-name to config object
that gets serialized as JSON to ENV variables.