Added toString()

for with _resource or without _resource