Added a parser for parsing arrays into SimpleXMLElements by building an object based on array values.