Improved value.toString()