Fix: exception messages with double single quotes (''string'')

```InvalidArgumentValue``` exception messages encode string values in single-quotes 2 times,
as var_export() already returns quoted strings.

Fix by not using var_export() for string types.