don't create a int indexed array when parent and child have the same name
fixes #694
merge d52553efdd4703d50297b70c41bfad4e348220e5