Added more durable parsing of arrays vs single values for the xml adapter