preparePlainTextValue implementation

Mostly straight forward implementation of `preparePlainTextValue`.

I do not think it should use `prepareExportValue` but if anybody has arguments against it, it would be easy to do so.