start converting json to xml for fo formatter