Put string serialization back in. It was a mistake to remove it.
It's actually very useful, and also removing it could possible break code.

This reverts commit 7b90de64f1373ab6fe07e0ba2ee1267d11ab566c.