script for importing json files into couch