Fixed a bug which meant that parsing deeper structures didn't create child branches.