Added function to write data to json
Added file to transform data review data to synset form