Fix utf8 bug in structured data rendering