function data2Path(params, pathData) {
    return pathData.reduce(function(pathString, item) {
        return pathString += item.instruction + (item.data ? cleanupOutData(roundData(item.data.slice()), params) : '');
    }, '');
}
Converts given path data to string.

@param {Object} params
@param {Array} pathData
@return {String}