checkpoint on json into database and updating deps
saving json into database working
adding reduce to map reduce