Fixed 'SampleIsList' to work with xml and json spanning multiple lines