Implemented CSV to json functionality

JSON exporting of csv file is working. Currently different JSON objects
are created per csv file inputted.