Bugfix: handles XML root node without children.
Handles two kinds of XML arrays:

Type 1:
 <root>
    <listChild>
        <childMember1 />
        <childMember2 />
    </listChild>
    <listChild>
        <childMember1 />
        <childMember2 />
    </listChild>
</root>

Type 2:
<root>
    <list>
        <listChild>
            <childMember1 />
            <childMember2 />
        </listChild>
    </list>
</root>
Bugfix

Moved the instantiation of the FileOutputStream that was causing
NullPointerException when the file was already created.
Modifications to access private fields

Added support for locating private fields in the superclasses.