messing around with batch db entries. getting close. just have to figure out how to separate the JSON building stuff from the fs.readFile stuff