flat the json structure for rtechn and remove redundant structure