Deserialization of XML with JMS Serializer

Code
<?php

use JMS\Serializer\SerializerBuilder;
use 
JMS\Serializer\Annotation as A;

// for annotations see
// http://jmsyst.com/libs/serializer/master/reference/annotations

/**
 * A\ExclusionPolicy("all")
 * @A\XmlRoot("data")
 */
class Data
{
    
/**
     * @A\Type("integer")
     */
    
private $id;
    
    
/**
     * @A\Type("string")
     */
    
private $name;
    
    
/**
     * @A\XmlKeyValuePairs
     * @A\Type("array<string>")
     */
    
private $values = [];
    
    
/**
     * @A\Type("integer")
     */
    
private $null null;
}

$serializedXml '<?xml version="1.0" encoding="UTF-8"?>
<data>
    <id>1</id>
    <name><![CDATA[John Doe]]></name>
    <values>
        <entry><![CDATA[32]]></entry>
        <entry><![CDATA[brown]]></entry>
    </values>
</data>'
;

$serializer = (new SerializerBuilder())
    ->
build();

$data $serializer->deserialize(
    
$serializedXml,
    
Data::CLASS,
    
'xml'
);

var_dump($data);
Result
object(Data)#426 (4) { ["id":"Data":private]=> int(1) ["name":"Data":private]=> string(8) "John Doe" ["values":"Data":private]=> array(2) { [0]=> string(2) "32" [1]=> string(5) "brown" } ["null":"Data":private]=> NULL }
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6