This should not be here, see https://github.com/NicolasBadey/FSCHateoasBundle/blob/45a48c992edd9238458cebca85982e5c7cc52bb6/Serializer/XmlFormViewSerializer.php#L158