Fix bug where insert text isn't copied
Fix bug where insert text isn't copied

The insert text gets copied when decoding it from JSON. This fixes a bug
where a segfault could occur if the component's text is accessed after
the JSON struct has been freed.

polyphony-ot/libot