convert pipeline object to string