fixes for making the string representation of objects (texture and material).