Add print method for kvPair