refactor(jobs): having job processor be in chanrge of reading and writing db.json