private function convert(\DOMElement $node)
    {
        foreach ($this->converters as $converter) {
            if ($converter->matches($node)) {
                return $converter->toJson($node);
            }
        }
    }