extract json data from coursera and insert it into database