*************************************************************************************************
@method doSanitize
@description doSanitize description
@param {xxx} value -- xxx
@param {xxx} user -- xxx
@param {xxx} filterArrays -- xxx
@param {xxx} acl --xxx
@returns {xxx} -- xxx
function doSanitize(value, user, filterArrays, acl) {
  if (!value) {
    return value
  }

  var result = value
  if (value.constructor === Array) {
    result = doSanitizeArray(value, user, filterArrays, acl)
  } else if (typeof(value) === 'object') {
    result = doSanitizeObject(value, user, filterArrays, acl)
  }

  return result
}