adapt the existing scala import to accept JSON and CSV
adapt the existing scala import to accept JSON and CSV