used xml for json mapping