preparePlainTextValue implementation