if (_.some(paramReturn, function(val) { return val.hasOwnProperty('error'); })) {
        ret = ret.concat(paramReturn);
      }