public static function xml($original) {
    $array = self::convert($original);
    $xml_data = new \SimpleXMLElement('<?xml version="1.0"?><data></data>');
    self::arrayToXml($array, $xml_data);
    return $xml_data->asXML();
  }