Code so far. For now I am just having the json parser write the xml. Eventually I might make it more global so it can parse to something other than XML.