tasks/lib/writer.js
function stringifyJSONProperties(obj) {
        var i,
            properties = [];

        for (i in obj) {
            properties.push(
                typeof obj[i] === 'string' ?
                        obj[i] :
                        utils.addQuotes(i) + ': ' + stringifyJSONProperties(obj[i])
            );
        }

        return '{\n' + properties.join(',\n\n') + '\n}';
    }
function stringifyJSONProperties(obj) {
        var i,
            properties = [];

        for (i in obj) {
            properties.push(
                typeof obj[i] === 'string' ?
                        obj[i] :
                        utils.addQuotes(i) + ': ' + stringifyJSONProperties(obj[i])
            );
        }

        return '{\n' + properties.join(',\n\n') + '\n}';
    }
function stringifyJSONProperties ( obj ) { var i , properties = [ ] ; for ( i in obj ) { properties . push ( typeof obj [ i ] === 'string' ? obj [ i ] : utils . addQuotes ( i ) + ': ' + stringifyJSONProperties ( obj [ i ] ) ) ; } return '{\n' + properties . join ( ',\n\n' ) + '\n}' ; }
Concat properties object to string
@param obj {Object} properties as object f.e. {a: {b: '...'}}
@returns {String}
Concat properties object to string