Issue 747 lazy strings serialized

Uses the patch from #752 and also fixes #747.

It's not the prettiest solution but it seems to work.