implement pretty print function

Implemented a pretty print function that will produce a human-readable output of GKEYs