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