func (v *Record) StructName(i int, packagename string, properties []string) (structname string) {
	if i > 0 {
		currentNode := v.Slice[i-1]
		structname = FormatName(currentNode)
		if i > 1 {
			parentNames := v.FindAllParentsOfSameNamedElement(currentNode, properties)
			if len(parentNames) > 1 {
				structname = FormatName(v.Slice[i-2] + "_" + currentNode)
			}
		}
	} else {
		structname = FormatName(packagename + "_job")
	}
	return
}
func (v *Record) StructName(i int, packagename string, properties []string) (structname string) {
	if i > 0 {
		currentNode := v.Slice[i-1]
		structname = FormatName(currentNode)
		if i > 1 {
			parentNames := v.FindAllParentsOfSameNamedElement(currentNode, properties)
			if len(parentNames) > 1 {
				structname = FormatName(v.Slice[i-2] + "_" + currentNode)
			}
		}
	} else {
		structname = FormatName(packagename + "_job")
	}
	return
}
//StructName - gets struct name for property