lib/common.js
function writeJSONFile(fileName, contents){
        var obj = JSON.parse(JSON.stringify( contents ));
		grunt.file.write(fileName, JSON.stringify(obj, null, 4));
    }
function writeJSONFile(fileName, contents){
        var obj = JSON.parse(JSON.stringify( contents ));
		grunt.file.write(fileName, JSON.stringify(obj, null, 4));
    }
writeJSONFile(fileName, contents)