serialize: Add ToJson impl for str