added print-object method for pid-objects