Improve JsonProvider SampleList behavior (closes #138)

It's rarer to have a list of singleline xmls, but added the same support to XmlProvider for consistency