toString mixin for json-ld