implement run import job method
add json_error method, refactor this, we got it doubled
implement /api/run method