added obj2str() mainly for debugging