Fixed lists being incorrectly converted.

    - issue that was affecting XML -> JSON conversion where lists
      and leaf lists were stealing names from previous leafs and
      containers has been fixed