Replace key_id with request name (as Seangchan suggested); removed md5hash
Be generic and pass job document into summary
Protect code from unfilled attributes