Implemented basic JSON and XML exporting.
Fixed JSONFile class.
Moved common method from JSONFile and XMLFile to CSVFileExport; changed
structure of relationship slightly.