Fix a bug where oversized object would use the same key if StringBuilder was used.