completed json import program, but performace is bad when running locally