read in indall.xml in getXML command, write to JSON