Date to be converted from multi level format to parent child format