public function sanitizeData($data, SanitizerOptions $options = null)
    {
        $xml = $this->dataToXml($data);

        if ($options === null) {
            $options = new SanitizerOptions();
        }
        $this->processNode($xml->documentElement, $options);

        return $this->xmlToData($xml);
    }