Couldn't figure out why this was here. The SimpleJson deserializer returns a string object with the value 1 (no quotes) if the json string is {"index": "1"}. So converting the value to a string to strip the quotes before you convert doesn't make sense and by doing this it wont allow you to convert something like {"index": 1} to a bool.