String cast log data.

Failing to string cast data like Exceptions causes errors when restoring
log state as exceptions may contain Closure objects in their stack
traces.

Fixes #165