Fix bug in json to xml convert library