[DEV] Real XML generator for track metadata

Will fix some issue with string not escape in xml