change object to string