Convert dataframe to JSON file

Due to the problem during importing CSV, I will use JSON format to store dataframe and
read from a file.