adding XML possibility in EpiRout.php

automatically detects if .xml or .json is added to the route.
you can add the dimension of the array and the default naming of the
container.