Updates to the txt file to json structure process