init generic export using RapidJson & RapidXml