Note that this is still in early (and heavy) development
Let's say you have a number of files with multiple references that you'd like to resolve. This will get it done.
Install package with NPM and add it to your development dependencies:
npm install --save-dev gulp-json-refs
var json_refs = ;gulp;