Convert value to str when being tolerant in JSONValue.loads()
Convert value to str when being tolerant in JSONValue.loads()

The `tolerant` flag means "treat this value as a string if it's not a
valid JSON value". The previous logic, which didn't do `str(value)`,
would return such values as-is, which meant that any type could be
returned when a string would be expected.

wylee/runcommands,wylee/runcommands