You should be able to do toString(p)