json to xml with mapping method