Is there a way (or tool) to convert games in PGN to notations like the one in the description? Example:

White: Kd6, Rh6

Black: Kd8

1.?

Background story: I'm thinking of creating material for developing the visualization skills of my students. If I can convert easy problems to text notations and ask people to solve them without a chess board, I'm thinking it would be a good exercise for visualization in chess.
PGN is for game notation, i.e. the whole game. You can use the FEN notation by creating the position on chessvideos.tv FEN generator site and then use the code to input this into Fritz or your preferred software. Code is on the top right. 3k4/8/3K3R/8/8/8/8/8 is the code for the position you gave.