How to make .pem files corresponding to keys human readale?

I have some .pem files containing public and private keys for rsa and dh, generated with genpkey (NOT certificates).

How do I make them human readable, as if they were generated with the -text option in genpkey ?