Added ability to pass an array of objects into the sanitizer