The idea of The Office’s paper salesman and part-time prankster, Jim (John Krasinski), playing a CIA spy in an R-rated thriller initially sounded like a spoof. But Krasinski pulled off portraying Jack Ryan in its debut season with such aplomb that it made you wonder if he was an undercover operative in Scranton, Pennsylvania, all along.