correctly export 'text' attribute to JSON