Is there a reason not to use the built-in JSON parser like so:

```lintPrefs = JSON.parse("{" + _props + "}");```

To catch syntax errors, this should be placed in a try / catch block that informs the user about any syntax errors.