Make CSV-import async

While at it prettyprint JSON responses and store CSV import logs