Generates an accurate string representation of any value.