Fixed stringForObject implementation