change context of json-write-out for post-checkin