adds support for `json` extensions for js minifying